public class EmployeeTest {
    public static void main(String[] args) {


    Employee e1 = new Employee();
    Employee e2 = new Employee();

    e1.name = "杰克";
    e1.birthday = new MyDate() ;
    e1.birthday.year = 2025;
    e1.birthday.month = 10;
    e1.birthday.day = 10;
//    System.out.println("名字:"+e1.name+"生日是"+e1.birthday.year+"年"+e1.birthday.month+"月"+e1.birthday.day+"日");
//    e2.name = "露丝";
//        System.out.println(e2.name);
//        System.out.println(e1);
        e1.showMessage();        //调用方法
    }
}
